home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1998 January / PC Answers Issue 49 Cover CD January 1998.iso / Apps / Director / DATA.Z / Lists Lingo.dir / Scripts_67_getaProp(aLinearList).ls < prev    next >
Encoding:
Text File  |  1997-05-10  |  631 b   |  17 lines

  1. on mouseDown
  2.   global gDefaultLinearList
  3.   doButton()
  4.   if the result = 1 then
  5.     set vListLength to count(gDefaultLinearList)
  6.     set vListPosition to checkPosition(the text of member "Checking Linear GetAProp Input Field 2", vListLength)
  7.     if vListPosition <> EMPTY then
  8.       set vListValue to getAt(gDefaultLinearList, vListPosition)
  9.       if stringp(vListValue) then
  10.         set the text of member "Checking Linear GetAProp Display Field 3" to QUOTE & string(vListValue) & QUOTE
  11.       else
  12.         set the text of member "Checking Linear GetAProp Display Field 3" to string(vListValue)
  13.       end if
  14.     end if
  15.   end if
  16. end
  17.